package com.efast.dmom.mgmt.entity.mes;

import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ChenLiPeng
 * @since 2018-06-20
 */
public class TwProductionPlan implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "tw_production_plan_id", type = IdType.AUTO)
    private Integer twProductionPlanId;
    /**
     * 客户名称
     */
    private String customerName;
    /**
     * 销售订单
     */
    private String salesOrder;
    /**
     * 产品编码(物料编码)
     */
    private String productNo;
    /**
     * 产品名称(物料名称)
     */
    private String productName;
    /**
     * 计划单号
     */
    private String planOrder;
    /**
     * 计划单类型
     */
    private String planType;
    /**
     * 计划单描述
     */
    private String planDes;
    /**
     * 计划开始时间
     */
    private Date planBeginTime;
    /**
     * 计划完成时间
     */
    private Date planEndTime;
    /**
     * 计划生产量
     */
    private Integer planOutput;
    /**
     * 计划优先级
     */
    private Integer priority;
    /**
     * 计划单状态
     */
    private String status;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 创建用户
     */
    private String createUser;
    /**
     * 上次更新时间
     */
    private Date lastUpdateTime;
    /**
     * 更改用户
     */
    private String lastUpdateUser;
    /**
     * 版本控制
     */
    private Integer optCounter;
    /**
     * 企业代码
     */
    private String companyCode;


    public Integer getTwProductionPlanId() {
        return twProductionPlanId;
    }

    public void setTwProductionPlanId(Integer twProductionPlanId) {
        this.twProductionPlanId = twProductionPlanId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getSalesOrder() {
        return salesOrder;
    }

    public void setSalesOrder(String salesOrder) {
        this.salesOrder = salesOrder;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getPlanOrder() {
        return planOrder;
    }

    public void setPlanOrder(String planOrder) {
        this.planOrder = planOrder;
    }

    public String getPlanType() {
        return planType;
    }

    public void setPlanType(String planType) {
        this.planType = planType;
    }

    public String getPlanDes() {
        return planDes;
    }

    public void setPlanDes(String planDes) {
        this.planDes = planDes;
    }

    public Date getPlanBeginTime() {
        return planBeginTime;
    }

    public void setPlanBeginTime(Date planBeginTime) {
        this.planBeginTime = planBeginTime;
    }

    public Date getPlanEndTime() {
        return planEndTime;
    }

    public void setPlanEndTime(Date planEndTime) {
        this.planEndTime = planEndTime;
    }

    public Integer getPlanOutput() {
        return planOutput;
    }

    public void setPlanOutput(Integer planOutput) {
        this.planOutput = planOutput;
    }

    public Integer getPriority() {
        return priority;
    }

    public void setPriority(Integer priority) {
        this.priority = priority;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }

    public String getLastUpdateUser() {
        return lastUpdateUser;
    }

    public void setLastUpdateUser(String lastUpdateUser) {
        this.lastUpdateUser = lastUpdateUser;
    }

    public Integer getOptCounter() {
        return optCounter;
    }

    public void setOptCounter(Integer optCounter) {
        this.optCounter = optCounter;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    @Override
    public String toString() {
        return "TwProductionPlan{" +
        ", twProductionPlanId=" + twProductionPlanId +
        ", customerName=" + customerName +
        ", salesOrder=" + salesOrder +
        ", productNo=" + productNo +
        ", productName=" + productName +
        ", planOrder=" + planOrder +
        ", planType=" + planType +
        ", planDes=" + planDes +
        ", planBeginTime=" + planBeginTime +
        ", planEndTime=" + planEndTime +
        ", planOutput=" + planOutput +
        ", priority=" + priority +
        ", status=" + status +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", lastUpdateTime=" + lastUpdateTime +
        ", lastUpdateUser=" + lastUpdateUser +
        ", optCounter=" + optCounter +
        ", companyCode=" + companyCode +
        "}";
    }
}
